package com.yazi.mxz.gather.entity.beans;

import com.myframework.smhj.hibernate.Entity;

/**
 * StoreGoods entity. @author MyEclipse Persistence Tools
 */

public class StoreGoods extends Entity implements java.io.Serializable {

	// Fields

	private Long storeGoodsId;
	private Store store;
	private Long goodsId;
	private Long catId;
	private String barCode;
	private String name;
	private String title;
	private String keywords;
	private Integer status;
	private String unit;
	private Float price;
	private Float stock;
	private Integer stockEnd;
	private Float sellDef;
	private Float sellMin;
	private Float sellExt;
	private String sellUnit;
	private Double unitConvert;
	private Float originalPrice;
	private String pic;
	private String dispatch;
	private Integer dealAll;
	private Integer dealWeek;
	private Integer dealMonth;
	private Long dealTime;
	private Long sort;
	private String description;
	private Long updateTime;
	private Long addTime;
	private Boolean atDiscount;
	private Boolean atGift;
	private String subTitle;
	private String categoryPath;
	private Float stockConvert;
	private Long classifyId;
	private Float selfCost;
	private Boolean atDiscountLocal;
	private Boolean atGiftLocal;

	// Constructors

	/** default constructor */
	public StoreGoods() {
	}

	/** minimal constructor */
	public StoreGoods(Store store, Long goodsId, Long catId, String barCode, String name,
			String title, Integer status, String unit, Float price, Float stock, Integer stockEnd,
			Float sellDef, Float sellMin, Float sellExt, Float originalPrice, Integer dealAll,
			Integer dealWeek, Integer dealMonth, Long dealTime, Long sort, Long updateTime,
			Long addTime, Boolean atDiscount, Boolean atGift, String categoryPath,
			Float stockConvert, Long classifyId, Float selfCost, Boolean atDiscountLocal,
			Boolean atGiftLocal) {
		this.store = store;
		this.goodsId = goodsId;
		this.catId = catId;
		this.barCode = barCode;
		this.name = name;
		this.title = title;
		this.status = status;
		this.unit = unit;
		this.price = price;
		this.stock = stock;
		this.stockEnd = stockEnd;
		this.sellDef = sellDef;
		this.sellMin = sellMin;
		this.sellExt = sellExt;
		this.originalPrice = originalPrice;
		this.dealAll = dealAll;
		this.dealWeek = dealWeek;
		this.dealMonth = dealMonth;
		this.dealTime = dealTime;
		this.sort = sort;
		this.updateTime = updateTime;
		this.addTime = addTime;
		this.atDiscount = atDiscount;
		this.atGift = atGift;
		this.categoryPath = categoryPath;
		this.stockConvert = stockConvert;
		this.classifyId = classifyId;
		this.selfCost = selfCost;
		this.atDiscountLocal = atDiscountLocal;
		this.atGiftLocal = atGiftLocal;
	}

	/** full constructor */
	public StoreGoods(Store store, Long goodsId, Long catId, String barCode, String name,
			String title, String keywords, Integer status, String unit, Float price, Float stock,
			Integer stockEnd, Float sellDef, Float sellMin, Float sellExt, String sellUnit,
			Double unitConvert, Float originalPrice, String pic, String dispatch, Integer dealAll,
			Integer dealWeek, Integer dealMonth, Long dealTime, Long sort, String description,
			Long updateTime, Long addTime, Boolean atDiscount, Boolean atGift, String subTitle,
			String categoryPath, Float stockConvert, Long classifyId, Float selfCost,
			Boolean atDiscountLocal, Boolean atGiftLocal) {
		this.store = store;
		this.goodsId = goodsId;
		this.catId = catId;
		this.barCode = barCode;
		this.name = name;
		this.title = title;
		this.keywords = keywords;
		this.status = status;
		this.unit = unit;
		this.price = price;
		this.stock = stock;
		this.stockEnd = stockEnd;
		this.sellDef = sellDef;
		this.sellMin = sellMin;
		this.sellExt = sellExt;
		this.sellUnit = sellUnit;
		this.unitConvert = unitConvert;
		this.originalPrice = originalPrice;
		this.pic = pic;
		this.dispatch = dispatch;
		this.dealAll = dealAll;
		this.dealWeek = dealWeek;
		this.dealMonth = dealMonth;
		this.dealTime = dealTime;
		this.sort = sort;
		this.description = description;
		this.updateTime = updateTime;
		this.addTime = addTime;
		this.atDiscount = atDiscount;
		this.atGift = atGift;
		this.subTitle = subTitle;
		this.categoryPath = categoryPath;
		this.stockConvert = stockConvert;
		this.classifyId = classifyId;
		this.selfCost = selfCost;
		this.atDiscountLocal = atDiscountLocal;
		this.atGiftLocal = atGiftLocal;
	}

	// Property accessors

	public Long getStoreGoodsId() {
		return this.storeGoodsId;
	}

	public void setStoreGoodsId(Long storeGoodsId) {
		this.storeGoodsId = storeGoodsId;
	}

	public Store getStore() {
		return this.store;
	}

	public void setStore(Store store) {
		this.store = store;
	}

	public Long getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}

	public Long getCatId() {
		return this.catId;
	}

	public void setCatId(Long catId) {
		this.catId = catId;
	}

	public String getBarCode() {
		return this.barCode;
	}

	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getKeywords() {
		return this.keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Float getStock() {
		return this.stock;
	}

	public void setStock(Float stock) {
		this.stock = stock;
	}

	public Integer getStockEnd() {
		return this.stockEnd;
	}

	public void setStockEnd(Integer stockEnd) {
		this.stockEnd = stockEnd;
	}

	public Float getSellDef() {
		return this.sellDef;
	}

	public void setSellDef(Float sellDef) {
		this.sellDef = sellDef;
	}

	public Float getSellMin() {
		return this.sellMin;
	}

	public void setSellMin(Float sellMin) {
		this.sellMin = sellMin;
	}

	public Float getSellExt() {
		return this.sellExt;
	}

	public void setSellExt(Float sellExt) {
		this.sellExt = sellExt;
	}

	public String getSellUnit() {
		return this.sellUnit;
	}

	public void setSellUnit(String sellUnit) {
		this.sellUnit = sellUnit;
	}

	public Double getUnitConvert() {
		return this.unitConvert;
	}

	public void setUnitConvert(Double unitConvert) {
		this.unitConvert = unitConvert;
	}

	public Float getOriginalPrice() {
		return this.originalPrice;
	}

	public void setOriginalPrice(Float originalPrice) {
		this.originalPrice = originalPrice;
	}

	public String getPic() {
		return this.pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getDispatch() {
		return this.dispatch;
	}

	public void setDispatch(String dispatch) {
		this.dispatch = dispatch;
	}

	public Integer getDealAll() {
		return this.dealAll;
	}

	public void setDealAll(Integer dealAll) {
		this.dealAll = dealAll;
	}

	public Integer getDealWeek() {
		return this.dealWeek;
	}

	public void setDealWeek(Integer dealWeek) {
		this.dealWeek = dealWeek;
	}

	public Integer getDealMonth() {
		return this.dealMonth;
	}

	public void setDealMonth(Integer dealMonth) {
		this.dealMonth = dealMonth;
	}

	public Long getDealTime() {
		return this.dealTime;
	}

	public void setDealTime(Long dealTime) {
		this.dealTime = dealTime;
	}

	public Long getSort() {
		return this.sort;
	}

	public void setSort(Long sort) {
		this.sort = sort;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Long getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Long addTime) {
		this.addTime = addTime;
	}

	public Boolean getAtDiscount() {
		return this.atDiscount;
	}

	public void setAtDiscount(Boolean atDiscount) {
		this.atDiscount = atDiscount;
	}

	public Boolean getAtGift() {
		return this.atGift;
	}

	public void setAtGift(Boolean atGift) {
		this.atGift = atGift;
	}

	public String getSubTitle() {
		return this.subTitle;
	}

	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}

	public String getCategoryPath() {
		return this.categoryPath;
	}

	public void setCategoryPath(String categoryPath) {
		this.categoryPath = categoryPath;
	}

	public Float getStockConvert() {
		return this.stockConvert;
	}

	public void setStockConvert(Float stockConvert) {
		this.stockConvert = stockConvert;
	}

	public Long getClassifyId() {
		return this.classifyId;
	}

	public void setClassifyId(Long classifyId) {
		this.classifyId = classifyId;
	}

	public Float getSelfCost() {
		return this.selfCost;
	}

	public void setSelfCost(Float selfCost) {
		this.selfCost = selfCost;
	}

	public Boolean getAtDiscountLocal() {
		return this.atDiscountLocal;
	}

	public void setAtDiscountLocal(Boolean atDiscountLocal) {
		this.atDiscountLocal = atDiscountLocal;
	}

	public Boolean getAtGiftLocal() {
		return this.atGiftLocal;
	}

	public void setAtGiftLocal(Boolean atGiftLocal) {
		this.atGiftLocal = atGiftLocal;
	}

}